Integrated circuit with overclocked dedicated logic circuitry

ABSTRACT

An integrated circuit with overclocked embedded logic circuitry is described. In an example, a programmable logic device includes programmable logic blocks operable using a first clock signal having a first frequency. A dedicated logic circuit embedded within the programmable logic device is operable using a second clock signal synchronized with the first clock signal and having a second frequency, the second frequency being a multiple of the first frequency. An interface coupled between one or more of the programmable logic blocks and the dedicated logic circuit includes multiplexer circuitry to multiplex output signals produced by the one or more programmable logic blocks among input terminals of the dedicated logic circuit.

FIELD OF THE INVENTION

One or more aspects of the invention relate generally to programmable devices and, more particularly, to programmable devices with overclocked dedicated circuitry and/or to a programmable multiply-accumulator circuit.

BACKGROUND OF THE INVENTION

Programmable logic devices (PLDs) exist as a well-known type of integrated circuit (IC) that may be programmed by a user to perform specified logic functions. There are different types of programmable logic devices, such as programmable logic arrays (PLAs) and complex programmable logic devices (CPLDs). One type of programmable logic device, known as a field programmable gate array (FPGA), is very popular because of a superior combination of capacity, flexibility, time-to-market, and cost.

An FPGA typically includes an array of configurable logic blocks (CLBs) surrounded by a ring of programmable input/output blocks (IOBs). The CLBs and IOBs are interconnected by a programmable interconnect structure. The CLBs, IOBs, and interconnect structure are typically programmed by loading a stream of configuration data (bitstream) into internal configuration memory cells that define how the CLBs, IOBs, and interconnect structure are configured. The configuration bitstream may be read from an external memory, conventionally an external integrated circuit memory EEPROM, EPROM, PROM, and the like, though other types of memory may be used. The collective states of the individual memory cells then determine the function of the FPGA.

Dedicated logic circuits configured to perform specific functions are commonly embedded into PLDs. For example, the Virtex®-II family of FPGAs manufactured by Xilinx, Inc., include dedicated multipliers. Current approaches for embedding dedicated logic circuitry within a PLD are fundamentally limited in input/output (I/O) capacity by the routing and data-path processing capabilities of the programmable fabric to which the dedicated logic circuitry is attached. For example, a design in an FPGA may have a data path clocked at 300 MHz. A multiplier, attached to the data path of the FPGA, is also clocked at 300 MHz, even though a multiplier fabricated with the same process used for the FPGA is capable of being clocked at a higher rate.

Notably, conventional dedicated logic circuitry within an FPGA that operates using a higher or lower clock frequency than that of the FPGA fabric is clock asynchronously from the FPGA fabric. For example, embedded microprocessors, boundary scan circuitry, and I/O transceivers all operate asynchronously with respect to the FPGA fabric. Data transfer between the FPGA fabric and such dedicated logic circuits is effectuated using asynchronous communication between the FPGA fabric and the dedicated logic circuit (e.g., a first-in, first-out (FIFO) interface), or a handshaking mechanism (e.g., a processor bus and peripheral management).

Therefore, it would be desirable and useful to have an integrated circuit with embedded dedicated logic circuitry capable of operating at a higher clock rate and at least partially synchronous with programmatically configurable logic of such an integrated circuit.

SUMMARY OF THE INVENTION

An aspect of the invention is a programmable logic device with overclocked dedicated logic circuitry. In an embodiment, the programmable logic device includes programmable logic blocks operable using a first clock signal having a first frequency. A dedicated logic circuit embedded within the programmable logic device is operable using a second clock signal synchronized with the first clock signal and having a second frequency, the second frequency being a multiple of the first frequency. An interface coupled between one or more of the programmable logic blocks and the dedicated logic circuit includes multiplexer circuitry to multiplex output signals produced by the one or more programmable logic blocks among input terminals of the dedicated logic circuit

Another aspect of the invention is an integrated circuit comprising programmatically configurable logic circuitry in electrical communication with dedicated application specific circuitry. The programmatically configurable logic circuitry operable in a first time domain, and the dedicated application specific circuitry operable in a second time domain. Frequency of the second time domain is a multiple of frequency of the first time domain, and the first time domain and the second time domain are sufficiently phase aligned with respect to corresponding timing signal transitions for synchronous operation between the programmatically configurable logic circuitry and the dedicated application specific circuitry.

Another embodiment of the present invention includes a programmable multiply-accumulator circuit (MAC). The MAC includes: a multiplier circuit coupled to an adder/subtractor circuit, where the multiplier circuit receives a first input signal selected from a plurality of first input signals by a first control signal; an accumulator circuit receiving a second input from the adder/subtractor circuit, where an output signal of the accumulator circuit is sent back to the adder/subtractor circuit depending on a value of a second control signal; and a pattern generator configured to produce the first and second control signals responsive to at least one operational (OP) code. In addition the MAC may also include a clock multiplier circuit providing a first clock signal to the pattern generator, where a first frequency of the first clock signal is proportional to a second frequency of a second clock signal. In one aspect of the present invention where the multiplier circuit is a dedicated hardwire circuit, and the MAC is embedded in a PLD, for example, an FPGA, the clock supplied to multiplier is a multiple of the clock for at least some part of the rest of the PLD. Hence the multiplier circuit can be over-clocked with respect to the rest of the PLD.

BRIEF DESCRIPTION OF THE DRAWINGS

Accompanying drawing(s) show exemplary embodiment(s) in accordance with one or more aspects of the invention; however, the accompanying drawing(s) should not be taken to limit the invention to the embodiment(s) shown, but are for explanation and understanding only.

FIG. 1 depicts a block diagram of an exemplary embodiment of a field programmable gate array (FPGA) coupled to a program memory;

FIG. 2 depicts a block diagram showing an exemplary embodiment of a portion of an FPGA having embedded dedicated logic circuitry;

FIG. 3 depicts a block diagram showing an exemplary embodiment of a two-times overclocked multiply-accumulate circuit embedded within an FPGA; and

FIG. 4 depicts a block diagram showing an exemplary embodiment of a three-times overclocked multiply-accumulate circuit embedded within an FPGA.

DETAILED DESCRIPTION OF THE DRAWINGS

Programmable logic device with overclocked dedicated logic circuitry is described. One or more aspects of the invention relate to dedicated multiply-accumulate circuits embedded within an FPGA. Those skilled in the art will appreciate, however, that the invention may be employed with other types of dedicated logic circuits that are capable of operating in a time-multiplexed mode, such circuits being embedded within other types of programmable logic devices, such as a CPLD, or other integrated circuits with programmatically configurable logic.

FIG. 1 depicts a block diagram of an exemplary embodiment of a field programmable gate-array (FPGA) 100 coupled to a program memory 112. FPGA 100 illustratively includes CLBs 107, I/O routing ring 106A (“programmable interconnect”), memory 111, such as random access memory, delay lock loop (DLL) blocks 109, multiply/divide/de-skew clock circuits 110, and programmable IOBs 106B. DLL blocks 109 and clock circuits 110 collectively provide digital clock management (DCM) circuits for managing clock signals within FPGA 100. FPGA 100 may include other types of logic blocks and circuits in addition to those described herein,

CLBs 104 are programmably connectable to each other, and to I/O routing ring 108, for performing various types of logic functions. Each of CLBs 104 may include one or more “slices” and programmable interconnect circuitry (not shown). Each CLB slice in turn includes various circuits, such as flip-flops, function generators (e.g., look-up tables (LUTs)), logic gates, memory, and like type well-known circuits.

Programmable IOBs 106B (and Multi-gigabit transceivers (MGTs), not shown) are configured to provide input to, and receive output from, one or more of CLBs 107. Configuration information for CLBs 107, I/O routing ring 106A, and programmable IOBs 106B is stored in memory 111. Briefly stated, a configuration bitstream produced from program memory 112 is coupled to a configuration port of FPGA 900 to implement a desired circuit therein.

A programmable function block includes circuitry that can be programmed to perform one or more functions. An example of a programmable function block is a programmable logic block, which in the context of an FPGA may include, the CLBs 107, I/O routing ring 106A, and programmable IOBs 106B (and MGTs).

FIG. 2 depicts a block diagram showing an exemplary embodiment of a portion 200 of an FPGA having embedded dedicated hardwired circuitry. Portion 200 includes programmable logic blocks 202, a bank of registers (“register bank” 204), interface circuitry 203, a dedicated circuit 208, and a clock multiplier 210. Alternatively, the clock multiplier 210 may be part of interface circuitry 203 or part of dedicated logic circuitry 208.

Programmable logic blocks 202 include CLBs, IOBs (MGTs), and I/O routing, which may be configured to implement a user-defined circuit. Synchronous circuit elements within programmable logic blocks 202 operate in response to a clock signal, CLK, provided by a clock 212. Dedicated circuit 208 includes hardwired circuitry embedded within portion 200 configured to perform a specific function, such as, for example, an arithmetic function or a digital signal processing (DSP) function. Synchronous circuit elements within dedicated circuit 208 operate in response to a clock signal, M_CLK, provided by clock multiplier 210. Clock signal M_CLK is synchronized with clock signal CLK, but has a frequency that is a multiple, M, of the frequency of clock signal CLK, where M in one embodiment is an integer. In an alternative embodiment M is any number, including a fractional number, i.e., the frequency of M_CLK is proportional to the frequency of CLK, and M_CLK need not be synchronized with clock signal CLK on every cycle of CLK, but M_CLK may be synchronized on a number K of CLK clock cycles, where K is any positive number, including a whole or fractional number. Dedicated circuit 208 is thus “overclocked” with respect to programmable logic blocks 202.

Interface circuitry 203 effectuates data transfer between programmable logic blocks 202 and dedicated circuit 208 such that, to the FPGA fabric, dedicated circuit 208 appears to operate at the data rate of the FPGA fabric using the clock signal that is used by the logic in circuit 202. Notably, for each cycle of clock signal CLK, programmable logic blocks 202 provide input data to interface circuitry 203 and receive output data from interface circuitry 203. However, for each cycle of clock signal CLK, dedicated circuit 208 processes the input data to produce the output data in accordance with multiple cycles of clock signal M_CLK.

Interface circuitry 203 effectively isolates dedicated circuit 208 from programmable logic blocks 202 such that, from the viewpoint of programmable logic blocks 202, dedicated circuit 208 operates in accordance with clock signal CLK. At the same time, interface circuitry 203 allows dedicated circuit 208 to operate using a clock frequency higher than that of programmable logic blocks 202. For example, dedicated circuit 208 may be configured to perform multiple, e.g., arithmetic and/or DSP, operations to provide multiple output data using a single set of input data from programmable logic blocks 202.

In particular, an input bus of register bank 204 receives input data from programmable logic blocks 202. The input bus of register bank 204 has a data width of X, where X is an integer greater than zero. In an embodiment, the input bus of register bank 204 receives the input data from the programmable interconnect circuitry within programmable logic blocks 202. Registers within register bank 204 load data in response to clock signal CLK. An output bus of register bank 204 provides the input data to multiplexer circuitry 216. A control bus of multiplexer circuitry 216 receives control signal(s) from control circuit 214. Control circuit 214 operates in response to clock signal M_CLK. Control circuit 214 causes multiplexer circuitry 216 to selectively multiplex the input data from register bank 204 to provide output data to dedicated circuit 208. The output bus of multiplexer circuitry 216 has a data width of Y, where Y is an integer greater than zero.

Since register bank 204 is operated in response to clock signal CLK, data on the output bus of register bank 204 is static for M clock cycles of clock signal M_CLK. In an embodiment, programmable logic blocks 202 may be configured to provide control information to control circuit 214. For example, dedicated circuit 208 may have several modes of operation that are selectable using the control information.

Notably, clock signal CLK is coupled to an input of clock multiplier 210, which multiples clock signal CLK by M. An output of clock multiplier 210 provides clock signal M_CLK. In an embodiment, clock signal M_CLK has a frequency that is an integer multiple of the frequency of clock signal CLK. For example, clock signal M_CLK may have a frequency that is two, three, or four times that of clock signal CLK.

An input bus of register bank 206 receives output data from dedicated circuit 208. The input bus of register bank 206 has a data width of Z, where Z is an integer greater than zero. Registers within register bank 206 load data in response to clock signal M_CLK. An output bus of register bank 206 provides the output data to programmable logic blocks 202.

Since dedicated circuit 208 is operated in response to clock signal M_CLK, the output data coupled to the input bus of register bank 206 may change M times for each cycle of clock signal CLK. Register bank 206 “captures” the output data of dedicated circuit 208 such that the entire output data may be provided to programmable logic blocks 202.

FIG. 3 depicts a block diagram showing an exemplary embodiment of a two-times overclocked multiply-accumulate circuit (MAC) 300 embedded within an FPGA. MAC 300 includes multiplexers 302A and 302B (collectively referred to as multiplexers 302), multiplier 304, adder/subtracter 306, accumulator circuitry 308, and pattern generator 310. Accumulator circuitry 308 includes registers 316 ₀, and 316 ₁, (collectively referred to as registers 316), multiplexer 318, and an optional shifter 320. Multiplier 304 may be a very large scale integrated (VLSI) pipelined multiplier, and adder/subtracter 306 may be a VLSI pipelined adder/subtracter. MAC 300 may be fabricated with the same process used to fabricate the FPGA in which MAC 300 is embedded.

MAC 300 receives input data from registers 312A₀, 312A₁, 312B₀, and 312B₁ (collectively referred to as registers 312). MAC 300 provides output data to registers 314 ₀ and 314 ₁ (collectively referred to as registers 314). In an embodiment, registers 312 and registers 314 are dedicated circuit elements formed within the FPGA. For example, registers 312 and registers 314 may be fabricated as part of MAC 300. Alternatively, registers 312 and registers 314 may be part of the programmable logic of the FPGA. For example, registers 312 and registers 314 may be part of CLBs within the FPGA.

A clock signal CLK that is used to clock synchronous circuit elements within the programmable logic of the FPGA is coupled to a clock multiplier 322. Clock multiplier 322 multiplies clock signal CLK to produce a clock signal M_CLK having a frequency twice that of clock signal CLK. Operation of clock multiplier 322 is well-known in the art. In an embodiment, clock multiplier 322 is fabricated as part of MAC 300. Alternatively, clock multiplier 322 may be part of a DCM circuit with the FPGA.

Registers 312 load data in accordance with clock signal CLK. Registers 314 load data in accordance with clock signal M_CLK. Notably, input buses of register 312A₀ and register 312A₁ are respectively configured to receive signals a₀ and a₁. Input buses of register 312B₀ and register 312B₁ are respectively configured to receive signals b₀ and b₁. Signals a₀, a₁, b₀, and b₁ are provided by programmable logic blocks of the FPGA. Each of signals a₀, a₁, b₀, and b₁ has a data width of N bits.

Output buses of register 314 ₀ and 314 ₁ respectively provide signals q₀ and q₁. Signals q₀ and q₁ are provided to the programmable logic blocks of the FPGA. In addition, an operational code (OP code) signal, in one embodiment of the present invention may be provided by programmable logic blocks of the FPGA to pattern generator 310. The OP code may be used to select a specific one of a plurality of operations that may be performed by MAC 300. Pattern generator 310 produces an output pattern in response to clock signal M_CLK.

In an alternative embodiment of the present invention the OP code signal is supplied from the decoding of a software program instruction. The software program may be executed by an embedded microprocessor such as in the Virtex II Pro FPGA by Xilinx Corporation of San Jose Calif. In yet another embodiment the OP code may be stored in an FPGA's configuration memory and may be changed by partially reconfiguring the FPGA.

Output buses of register 312A₀ and 312A₁ are respectively coupled to inputs of multiplexer 302A. Output buses of register 312B₀ and 312B₁ are respectively coupled to inputs of multiplexer 302B. Control terminals of multiplexer 302A and multiplexer 302B are respectively configured to receive signals A_SEL and B_SEL. Signals A_SEL and B_SEL are generated by pattern generator 310 in accordance with the OP code. The logical value of signal A_SEL determines which of signals a₀ and a₁ is selected by multiplexer 302A. Likewise, the logical value of signal B_SEL determines which of signals b₀ and b₁ is selected by multiplexer 302B.

Output buses of multiplexer 302A and multiplexer 302B are respectively coupled to multiplier 304. Multiplier 304 multiplies the signals provided by multiplexers 302 in response to clock signal M_CLK. Multiplier 304 provides an output signal having a data width of 2N bits to adder/subtracter 306. Adder/subtracter 306 adds or subtracts the output signal of multiplier 304 and an output signal of multiplexer 318 in response to clock signal M_CLK. A control terminal of adder/subtracter 306 is configured to receive signal ADD_MODE. Signal ADD_MODE is generated by pattern generator 310 in accordance with the OP code. The logical value of signal ADD_MODE determines whether adder/subtracter 306 performs an addition operation or a subtraction operation. Adder/subtracter 306 provides an output signal having a data width of M bits.

Input buses of register 314 ₀ and 314 ₀ are respectively coupled to the output of adder/subtracter 306. The input buses of registers 314 have a data width of 2N bits. Control terminals of register 314 ₀ and register 314 ₁ are configured to respectively receive signals CAPT0_EN and CAPT1_EN. Signals CAPT0_EN and CAPT1_EN are generated by pattern generator 310 in accordance with the OP code. The logical value of signal CAPT0_EN determines whether register 314 ₀ is enabled. Likewise, the logical value of signal CAPT1_EN determines whether register 314 ₁ is enabled.

Input buses of register 316 ₀ and register 316 ₁ are respectively coupled to the output of adder/subtracter 306. Control terminals of register 316 ₀ are respectively configured to receive signals ACC0_CLR and ACC0_EN. Control terminals of register 316 ₁ are respectively configured to receive signals ACC1_CLR and ACC0 ₁₃ CLR signals ACC0_CLR, ACC0_EN, ACC1_CLR, and ACC1_EN are generated by pattern generator 310 in accordance with the OP code. The logic value of signals ACC0_CLR and ACC1_CLR respectively determine whether registers 316 ₀ and 316 ₁ are cleared. The logic value of signals ACC0_EN and ACC1_EN respectively determine whether registers 316 ₀ and 316 ₁ are enabled.

Input buses of multiplexer 318 are respectively coupled to output buses of register 316 ₀ and register 316 ₁. A control terminal of multiplexer 318 is configured to receive signal ACC_SEL. Signal ACC_SEL is generated by pattern generator in accordance with the OP code. The logical value of signal ACC_SEL determines which of the output buses of registers 316 ₀ and 316 ₁ is selected by multiplexer 318. As described above, an output bus of multiplexer 318 is coupled to adder/subtracter 306.

In general, MAC 300 is capable of performing two multiply-accumulate operations for each cycle of clock signal CLK. The type of multiply-accumulate operation is determined by the OP code. During each cycle of clock signal CLK, MAC 300 will clock-in an OP code as well as input data (i.e., a₀, a₁, b₀ and b₁). The OP code may be arbitrarily selected by the programmable logic of the FPGA during operation of MAC 300, allowing MAC 300 to be used for many purposes. Alternatively, the OP code may be loaded during configuration of the FPGA.

Operation of MAC 300 may be understood with reference to the following two examples. In a first example, MAC 300 is configured via the OP code(s) to perform two multiplication operations such that output signal q₀ is equal to the product of input signal a₀ and input signal b₀, and output signal q₁ is equal to the product of input signal a₁ and input signal b₁. In a first cycle of clock signal M_CLK, MAC 300 produces output signal q₀. Multiplexers 302 are configured to select input signals a₀ and b₀. Signals a₀ and b₀ are multiplied by multiplier 304. Accumulator circuitry 308 is configured to provide an output of zero such that the output of adder/subtracter 306 is the product of signals a₀ and b₀. Accumulator circuitry 308 may be configured to provide an output of zero by disabling both of registers 316. Register 314 ₀ is enabled to capture the output of adder/subtracter 306, and register 314, is disabled. In a second clock cycle of clock signal M_CLK, MAC 300 produces output signal q₁. Multiplexers 302 are configured to select input signals a₁ and b₁, which are multiplied by multiplier 304 and passed through adder/subtracter 306. In the second cycle, however, register 314, is enabled to capture the output of adder/subtracter 306, and register 314, is disabled.

In a second example, MAC 300 is configured to perform two multiplication-accumulation operations such that output signal q₀ is equal to the product of signal a₀ and signal b₀ summed with the product of signal a₁ and signal b₁ (i.e., q₀=a₀b₀+a₁b₂). In a first clock cycle of clock signal M_CLK, MAC 300 computes the product between signals a₀ and b₀. Multiplexers 302 are configured to select input signals a₀ and b₀, which are multiplied by multiplier 304 and passed through adder/subtracter 306. One of registers 316 is enabled to capture the output of adder/subtracter 306. In a second clock cycle of clock signal M_CLK, MAC 300 computes the product between signals a₁ and b₁, which is summed with the previously computed product between signals a₀, and b₀. Multiplexers 302 are configured to select input signals a₁ and b₁, which are multiplied by multiplier 304. Adder/subtracter 306 sums the output of multiplier 304 with the output of the one of registers 316 that captured the previously computed product between signals a₀ and b₀, which is provided by multiplexer 318. The output of adder/subtracter 306 is captured by register 314 ₀.

It should be appreciate that MAC 300 may perform many operations, including the following: Mode  1 − q₀ = a₀  b₀,  q₁ = a₁  b₁ Mode  2 − q₀ = q₀ ± a₀  b₀,  q₁ = q₁ ± a₁  b₁ Mode  3 − q₀ = a₀  b₀ ± a₁  b₁ Mode  4 − q₀ = q₀ ± (a₀  b₀ ± a₁  b₁) Mode  5 − q₀ = a₀  b₀ − a₁  b₁,  q₁ = a₀  b₁ + a₁  b₀ Mode  6 − q₀ = q₀ ± (a₀  b₀ − a₁  b₁),  q₁ = q₁ ± (a₀  b₁ + a₁  b₀) where one or more OP codes may perform one or more of the above modes. In modes 3 and 4 above, if it is desirable to produce an output signal q₀ that is the product between signals a₀ and b₀ summed with signal a₁, register 312B₁ may be cleared using an optional signal B2_CLR provided by pattern generator 310. This obviates the need to load register 312B₁ with the value of one. Modes 5 and 6 above are useful for complex arithmetic and require the input data and OP code to be static for two cycles of clock signal CLK, since a total of four multiply-accumulate operations are performed.

In an embodiment, registers 316 in accumulator circuitry 308 may include shift input terminals and shift output terminals. For purposes of clarity by example, only register 316 ₀ is shown as having a shift input terminal and a shift output terminal. It is to be understood, however, that both of registers 316 may have shift input and output terminals. The shift input terminals of registers 316 may be configured to receive input data from the programmable logic blocks of the FPGA, or from another dedicated MAC. The shift output terminals of registers 316 may be configured to provide output data to the programmable logic blocks of the FPGA, or to yet another dedicated MAC. The shift input and output terminals of registers 316 allow MAC 300 to support addition operations involving additional signals c₀ and c₁ such as providing a signal q₀ equal to the product between signals a₀ and b₀ summed with signal c₀, and a signal q₁ equal to the product between signals a₁ and b₁ summed with signal c₁.

In an embodiment, the output bus of multiplexer 318 is coupled to a shifter 320. Shifter 320 is capable of providing a selectable shift to the output of multiplexer 318 in accordance with a signal SHIFT_SEL. _The signal SHIFT_SEL may be generated using pattern generator 310 in response to the OP code. Shifter 320 allows MAC 300 to support double-precision multiplication-accumulation operations.

In an embodiment, registers 312 may support shift-style loading in addition to, or in place of, parallel-style loading. For purposes of clarity by example, only register 312A₀ is shown as having a shift input terminal and a shift output terminal. It is to be understood, however, that one or more of registers 312 may have shift input and shift output terminals. Such shift-style loading allows MAC 300 to be cascaded with other MACs. For example, the shift input terminals of registers 312 may be coupled to shift output terminals of respective registers of another MAC. Likewise, the shift output terminals or registers 312 may be coupled to shift input terminals of respective registers of yet another MAC. Alternatively, the shift input and output terminals of registers 312 may be coupled to the programmable logic blocks of the FPGA.

MAC 300 may be converted into a four-times oversampling circuit. Notably, multiplexers 302 may be configured to have four input busses and clock signal M_CLK may have a frequency that is four times that of clock signal CLK. Additional registers 312 may be used to provide input data to the additional input busses of multiplexers 302. If MAC 300 is configured as a four-times oversampling circuit, MAC 300 operates substantially as described above, but allows for four parallel multiply-accumulate operations per cycle of clock signal CLK. This allows for the computation of a complex product in a single clock cycle of clock signal CLK. It is noted that, in the case of a complex product, adder/subtracter 306 will be idle for two cycles of clock signal M_CLK. As such, two additional summing operations may be performed for each cycle of clock signal CLK (i.e., one complex product and two real additions per cycle of clock signal CLK).

MAC 300 may also be converted into a three-times oversampling circuit. Notably, multiplexers 302 may be configured to have three input busses and clock signal M_CLK may have a frequency that is three times that of clock signal CLK. Additional registers may be used to provide input data to the additional input busses of multiplexers. If MAC 300 is configured as a three-times oversampling circuit, MAC 300 operates substantially as described above, but allows for four parallel multiply-accumulate operations per cycle of clock signal CLK. It is noted that, in the case of a complex product and a three-times oversampling MAC circuit, specialized embodiments may be used. Notably, it is possible to perform a complex product operation with three real multiplications and five real additions/subtractions: $\begin{matrix} {{\left( {a_{r} + {ia}_{i}} \right)\quad\left( {b_{r} + {ib}_{i}} \right)} = {\left( {{a_{r}\quad b_{r}} - {a_{i}\quad b_{i}}} \right) + {\left( {{a_{r}\quad b_{i}} + {a_{i}\quad b_{r}}} \right)\quad i}}} \\ {= {\left( {{a_{r}\left\lbrack {b_{r} + b_{i}} \right\rbrack} - {b_{i}\left\lbrack {a_{r} + a_{i}} \right\rbrack}} \right) +}} \\ {\left( {{b_{i}\left\lbrack {a_{r} + a_{i}} \right\rbrack} + {a_{i}\left\lbrack {b_{r} - b_{i}} \right\rbrack}} \right)\quad i} \end{matrix}$ and in the second formulation, the partial product, a_(r)[b_(r)+b_(i)], is repeated, allowing the complex product to be computed with a total of three additions, two subtractions, and three multiplications. Such formulations are well known in the art.

FIG. 4 depicts a block diagram showing an exemplary embodiment of a three-times overclocked MAC 400 embedded within an FPGA. In operation, MAC 400 is optimized to perform a complex product in a single cycle of clock signal CLK. MAC 400 includes multiplexers 402 ₁ through 402 ₃ (collectively referred to as multiplexers 402), an adder/subtracter 404, a multiplier 406, an adder/subtracter 408, registers 4101 through 4103 (collectively referred to as registers 410), a multiplexer 411, and a pattern generator 412. Multiplier 406 may be a VLSI pipelined multiplier, and adder/subtracters 404 and 408 may be VLSI pipelined adder/subtracters. MAC 400 may be fabricated with the same process used to fabricate the FPGA in which MAC 400 is embedded.

MAC 400 receives input data from registers 414 ₁ through 414 ₄ (collectively referred to as registers 414). MAC 400 provides output data to registers 416 ₁ and 416 ₂ (collectively referred to as registers 416). In an embodiment, registers 414 and registers 416 are dedicated circuit elements formed within the FPGA. For example, registers 414 and registers 416 may be fabricated as part of MAC 400. Alternatively, registers 414 and registers 416 may be part of the programmable logic of the FPGA. For example, registers 414 and registers 416 may be part of CLBs within the FPGA.

A clock signal CLK that is used to clock synchronous circuit elements within the programmable logic of the FPGA is coupled to a clock multiplier 418. Clock multiplier 418 multiplies clock signal CLK to produce a clock signal M_CLK having a frequency three-times that of clock signal CLK. In an embodiment, Clock multiplier 418 is fabricated as part of MAC 400. Alternatively, clock multiplier 418 may be part of a DCM circuit with the FPGA.

Registers 414 load data in accordance with clock signal CLK. Registers 416 load data in accordance with clock signal M_CLK. Notably, input buses of register 414 ₁ and register 414 ₂ are respectively configured to receive signals a_(i) and b_(i). Input buses of register 414 ₃ and register 414 ₄ are respectively configured to receive signals a_(r) and b_(r). Signals a_(i), a_(r), b_(i), and b_(r) are provided by programmable logic blocks of the FPGA. Each of signals a_(i), a_(r), b_(i), and b_(r) has a data width of N bits.

Output buses of register 416 ₀ and 416 _(i) respectively provide signals q_(r) and q_(i). Signals q_(r) and q_(i) are provided to the programmable logic blocks of the FPGA. In addition, an OP code signal may be provided by programmable logic blocks of the FPGA to pattern generator 412. The OP code may be used to select a specific one of a plurality of operations that may be performed by MAC 400. Pattern generator 412 produces an output pattern in response to clock signal M_CLK.

Output buses of register 414 ₁ and 414 ₂ are respectively coupled to inputs of multiplexer 402 ¹. Output buses of register 414 ₃ and 414 ₄ are respectively coupled to inputs of multiplexer 402 ₂. Control terminals of multiplexer 402 ₁ and multiplexer 402 ₂ are respectively configured to receive signals S1 and S2. Signals S1 and S2 are generated by pattern generator 412 in accordance with the OP code. The logical value of signal S1 determines which of signals a_(i) and b_(i) is selected by multiplexer 402 ₁. Likewise, the logical value of signal S2 determines which of signals a_(r) and b_(r) is selected by multiplexer 402 ₂.

Input buses of multiplexer 402 ₃ are respectively coupled to output buses of register 414 ₂, register 414 ₃, and register 414 ₄. A control terminal of multiplexer 402 ₃ is configured to receive a signal S3. Signal S3 is generated by pattern generator 412 in accordance with the OP code. The logical value of signal S3 determines which of signals b_(i), a_(r), and b_(r) is selected by multiplexer 402 ₃.

Output buses of multiplexer 402 ₁ and multiplexer 402 ₂ are respectively coupled to adder/subtracter 404. Adder/subtracter 404 adds or subtracts the output signal of multiplexer 402 ₁ and the output signal of multiplexer 402 ₂ in response to clock signal M_CLK. A control terminal of adder/subtracter 404 is configured to receive signal M1. Signal M1 is generated by pattern generator 412 in accordance with the OP code. The logical value of signal M1 determines whether adder/subtracter 404 performs an addition operation or a subtraction operation.

Multiplier 406 multiplies the output signal of adder/subtracter 404 and the output signal of multiplexer 402 ₃ in response to clock signal M_CLK. Multiplier 406 provides an output signal having a data width of 2N bits to adder/subtracter 408. Adder/subtracter 408 adds or subtracts the output signal of multiplier 406 and an output signal of multiplexer 411 in response to clock signal M_CLK. A control terminal of adder/subtracter 408 is configured to receive signal M2. Signal M2 is generated by pattern generator 412 in accordance with the OP code. The logical value of signal M2 determines whether adder/subtracter 408 performs an addition operation or a subtraction operation. Adder/subtracter 408 provides an output signal having a data width of 3N bits.

Input buses of register 416 ₁ and 416 ₂ are respectively coupled to the output of adder/subtracter 408. The input buses of registers 416 have a data width of 2N bits. Control terminals of register 416 ₁ and register 416 ₂ are configured to respectively receive signals E2 and E3. Signals E2 and E3 are generated by pattern generator 412 in accordance with the OP code. The logical value of signal E2 determines whether register 416 ₁ is enabled. Likewise, the logical value of signal E3 determines whether register 416 ₂ is enabled.

Input buses of registers 410 are coupled to the output of adder/subtracter 408. Control terminals of registers 410 ₁ through 410 ₃ are respectively configured to receive signals R1 through R3, and E1 through E3, respectively. Signals R1 through R3 and E1 through E3 are generated by pattern generator 412 in accordance with the OP code. The logic value of each of signals R1 through R3 determines whether a respective one of registers 410 is cleared. The logic value of each of signals E1 through E3 determines whether a respective one of registers 410 is enabled.

Input buses of multiplexer 411 are respectively coupled to output buses of registers 410. A control terminal of multiplexer 411 is configured to receive signal S4. Signal S4 is generated by pattern generator in accordance with the OP code. The logical value of signal S4 determines which of the output buses of registers 410 is selected by multiplexer 411. As described above, an output bus of multiplexer 411 is coupled to adder/subtracter 408.

Programmable logic device with overclocked dedicated logic circuitry has been described. Dedicated logic circuitry embedded within a PLD operates at speeds in excess of the data rates supported by data paths through the PLD fabric. For example, multiply-accumulate circuits may operate at two, three, or four times the clock frequency of the PLD. This may advantageously be used to improve multiply-accumulate operations, such as the running convolutions computed for a finite impulse-response (FIR) filter, since the throughput of a MAC grows linearly with the factor by which the MAC is overclocked. In addition, advantageously I/o limitations of known embedded logic circuits are avoided by broadening the interface between the FPGA fabric and the dedicated logic circuit and embedding control circuitry to maintain flexibility of function within the dedicated logic circuit.

While the foregoing describes exemplary embodiment(s) in accordance with one or more aspects of the invention, other and further embodiment(s) in accordance with the one or more aspects of the invention may be devised without departing from the scope thereof, which is determined by the claim(s) that follow and equivalents thereof. Claim(s) listing steps do not imply any order of the steps. Trademarks are the property of their respective owners. 

1. A device having programmable interconnections, the device further comprising: programmable function blocks operable using a first clock signal having a first frequency; a dedicated circuit, comprising at least in part hardwired circuitry configured to perform a specific function, operable using a second clock signal synchronized with the first clock signal and having a second frequency, the second frequency being a multiple of the first frequency; and an interface coupled between one or more of the programmable function blocks and the dedicated circuit, the interface configured to multiplex output signals produced by the one or more programmable function blocks among input terminals of the dedicated circuit.
 2. The device of claim 1, further comprising: a first bank of registers coupled between the dedicated circuit and the one or more programmable function blocks, the first bank of registers operable using the first clock signal; and a second bank of registers coupled between the at least one dedicated circuit and the one or more programmable function blocks, the second bank of registers operable using the second clock signal.
 3. The device of claim 1, wherein the at least one dedicated circuit includes one or more multiply-accumulate circuits operable using the second clock signal.
 4. The device of claim 3, wherein the dedicated circuit further comprises a clock management circuit configured to receive the first clock signal and provide the second clock signal.
 5. A programmable logic device, comprising: programmable logic blocks operable using a first clock signal having a first frequency; a first bank of registers coupled to one or more of the programmable logic blocks, the first bank of registers operable using the first clock signal; a plurality of multiplexers in communication with the first bank of registers; a multiplier in communication with each of the plurality of multiplexers, the multiplier operable using a second clock signal synchronized with the first clock signal and having a second frequency, the second frequency being a multiple of the first frequency; an adder/subtracter having a first input bus in communication with the multiplier, a second input bus, and an output bus, the adder/subtracter operable using the second clock signal; a second bank of registers coupled to the output bus of the adder/subtracter, the second bank of registers operable using the second clock signal; and an accumulation circuit coupled between the output bus and the second input bus of the adder/subtracter.
 6. The programmable logic device of claim 5, wherein the accumulation circuit comprises: a third bank of registers coupled to the output bus of the adder/subtracter, the third bank of registers operable using the second clock signal; and a multiplexer in communication with the third bank of registers and coupled to the second input bus of the adder/subtracter.
 7. The programmable logic device of claim 6, wherein the third bank of registers includes a shift input bus.
 8. The programmable logic device of claim 6, further comprising a shifter coupled between the multiplexer and the second input bus of the adder/subtracter.
 9. The programmable logic device of claim 5, further comprising a clock management circuit configured to receive the first clock signal and provide the second clock signal.
 10. The programmable logic device of claim 5, further comprising a pattern generator for providing control signals to the plurality of multiplexers, the adder/subtracter, the second bank of multiplexers, and the accumulation circuit responsive to an operation control code.
 11. The programmable logic device of claim 5, wherein the first bank of registers includes a shift input bus and a shift output bus.
 12. The programmable logic device of claim 5, wherein the second frequency is an integer multiple of the first frequency.
 13. A programmable logic device, comprising: programmable logic blocks operable using a first clock signal having a first frequency; a first bank of registers coupled to one or more programmable logic blocks, the first bank of registers operable using the first clock signal; a first multiplexer in communication with the first bank of registers; a second multiplexer in communication with the first bank of registers; a third multiplexer in communication with the first bank of registers; a first adder/subtracter having a first input bus in communication with the first multiplexer, a second input bus in communication with the second multiplexer, and an output bus, the first adder/subtracter operable using a second clock signal synchronized with the first clock signal and having a second frequency, the second frequency being a multiple of the first frequency; a multiplier in communication with the output bus of the first adder/subtracter, the multiplier operable using the second clock signal; an second adder/subtracter having a first input bus in communication with the multiplier, a second input bus, and an output bus, the adder/subtracter operable using the second clock signal; a second bank of registers coupled to the output bus of the second adder/subtracter, the second bank of registers operable using the second clock signal; and an accumulation circuit coupled between the output bus and the second input bus of the adder/subtracter.
 14. The programmable logic device of claim 13, wherein the second frequency is three-times the first frequency.
 15. A method of operating a dedicated circuit within a programmable device, comprising: providing a plurality of programmable function blocks; providing a first clock signal having a first frequency to the plurality of programmable function blocks; coupling one or more of the plurality of programmable function blocks to the dedicated circuit; multiplying the first clock signal having the first frequency by a predetermined value to provide a second clock signal having a second frequency, the second clock signal being synchronized with the first clock signal; and operating the dedicated circuitry using the second clock signal having the second frequency.
 16. An integrated circuit, comprising: programmatically configurable logic circuitry, the programmatically configurable logic circuitry operable in a first time domain; and dedicated application specific circuitry in electrical communication with the programmatically configurable logic circuitry, the dedicated application specific circuitry operable in a second time domain, wherein frequency of the second time domain is a multiple of frequency of the first time domain, the first time domain and the second time domain sufficiently phase aligned with respect to corresponding timing signal transitions for synchronous operation between the programmatically configurable logic circuitry and the dedicated application specific circuitry.
 17. The integrated circuit of claim 16, wherein the dedicated application specific circuitry and the programmatically configurable logic circuitry are in electrical communication via multiplexer circuitry coupled therebetween to multiplex output signals produced by the programmatically configurable logic circuitry among input terminals of the dedicated application specific circuitry.
 18. The integrated circuit of claim 16, further comprising: a first bank of registers coupled between the dedicated application specific circuitry and the programmatically configurable logic circuitry, the first bank of registers operable using a first clock signal in the first time domain; and a second bank of registers coupled between the dedicated application specific circuitry and the programmatically configurable logic circuitry, the second bank of registers operable using a second clock signal in the second time domain.
 19. The programmable logic device of claim 18, wherein the dedicated application specific circuitry includes at least one multiply-accumulate circuit operable using the second clock signal.
 20. A programmable multiply-accumulator circuit (MAC) comprising: a multiplier circuit coupled to an adder/subtractor circuit, the multiplier circuit receiving a tirst input signal selected from a plurality of first input signals by a first control signal; an accumulator circuit receiving a second input from the adder/subtractor circuit, wherein an output signal of the accumulator circuit is sent back to the adder/subtractor circuit depending on a value of a second control signal; and a pattern generator configured to produce the first and second control signals responsive to at least one operational (OP) code.
 21. The programmable multiply-accumulator circuit of claim 20, further comprising: a clock multiplier circuit providing a first clock signal to the pattern generator, wherein a first frequency of the first clock signal is proportional to a second frequency of a second clock signal.
 22. The programmable multiply-accumulator circuit of claim 21, wherein the clock multiplier circuit further provides the first clock signal to the multiplier circuit, the adder/subtractor circuit, and the accumulator circuit.
 23. The programmable multiply-accumulator circuit of claim 21, further comprising: a plurality of programmable function blocks interconnected via programmable interconnections; wherein the at least one OP code is created by the plurality of programmable function blocks; and wherein the plurality of programmable function blocks is responsive to the second clock signal.
 24. An integrated circuit (IC) having a programmable multiply-accumulator circuit (MAC), the MAC comprising: a multiplier circuit coupled to an adder/subtractor circuit, the multiplier circuit receiving a first input signal selected from a plurality of first input signals by a first control signal, the multiplier circuit comprising at least in part hardwired circuitry to perform a specific function; a plurality of programmable function blocks interconnected via programmable interconnections, the plurality of programmable function blocks configured to provide the plurality of first input signals; an accumulator circuit receiving a second input from the adder/subtractor circuit, wherein an output signal of the accumulator circuit is sent back to the adder/subtractor circuit depending on a value of a second control signal; a pattern generator configured to produce the first and second control signals responsive to at least one operational (OP) code; and a clock multiplier circuit providing a first clock signal to the pattern generator, wherein a first frequency of the first clock signal is a multiple of a second frequency of a second clock signal.
 25. The IC of claim 24, wherein the OP code is produced by software executed on an embedded processor in the IC.
 26. The IC of claim 24, wherein the multiple is one (1). 